/* Divs */
table.template input.title {
    width: auto !important;
}

select {
    width: auto !important;
}

/*
input, textarea {
    width: inherit !important;
}
*/

table {
    border-collapse: inherit !important;
}

.radio.btn-group > label {
    display: inline-block !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 6px !important;
}

.width-50 {
    width: 50% !important;
}

.tabs .width-100 {
  overflow: auto;
  width: 100%;
}

.fltlft {
    float: left;
}

.fltrt {
    float: right;
}

fieldset.adminform {
    margin: 0px 10px;
}

/* Tabs */
dl.tabs {
    margin-bottom: 18px;
    border-bottom: 1px solid #dddddd;
    display: table;
    line-height: 0;
    clear: both;
}

dl.tabs dt h3 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

dt.tabs {
    float: left;
    line-height: 18px;
    margin-bottom: -1px;
}

dt.tabs a {
    display: block;
    padding: 8px 12px;
    margin-right: 2px;
    line-height: 18px;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

dt.tabs a:hover {
    background-color: #eeeeee;
    text-decoration: none;
    border-color: #eeeeee #eeeeee #dddddd;
}

dl.tabs dt.open a,
dl.tabs dt.open a:hover {
    background-color: #ffffff;
    border-color: #dddddd #dddddd transparent;
    border-style: solid;
    border-width: 1px;
    color: #555555;
    cursor: default;
}

/* Sliders */
div.panel {
    border: 1px solid #dddddd;
    border-radius: 4px;
    margin-bottom: 3px;
}

div.panel h3 {
    font-size: 1em;
    margin: 0px;
}

div.panel h3 a {
    display: block;
    padding: 5px 0px 5px 10px;
}

/* Icons */
.cpanel div.icon,
#cpanel div.icon {
    float: left;
    margin: 0px 15px 15px 0px;
    text-align: center;
}

.cpanel div.icon a,
#cpanel div.icon a {
    border: 1px solid #cccccc;
    border-radius: 5px;
    display: block;
    float: left;
    width: 126px;
    height: 110px;
    text-decoration: none;
    vertical-align: middle;
    color: #565656;
}

.cpanel div.icon a:hover,
#cpanel div.icon a:hover,
.cpanel div.icon a:focus,
#cpanel div.icon a:focus,
.cpanel div.icon a:active,
#cpanel div.icon a:active {
    border-bottom-left-radius: 50% 20px;
    box-shadow: -5px 10px 15px rgba(0, 0, 0, 0.25);
}

.cpanel img,
#cpanel img {
    margin: 0 auto;
    padding: 10px 0;
}

.cpanel span,
#cpanel span {
    display: block;
    text-align: center;
}

/* Date selector */
.input-append {
    display: inline;
}

.btn-toolbar .button {
  display: inline-block;
  margin-left: 5px;
}

table.config td.key {
  padding-right: 20px;
  padding-top: 5px;
  text-align: right;
  width: auto;
}

.admintable label {
  font-weight: bold;
  margin: 0;
  padding: 0 10px 0 0;
}

.admintable {
  margin: 10px;
}

.button2-left {
  float: left;
  padding: 5px;
}

.button2-left a {
  padding: 0 10px;
}

table.template h3 {
  font-size: 13px;
  margin: 0;
  padding: 0;
}

table.template select {
  width: auto;
}

.adminform table.template th, .adminform table.template td {
  padding: 2px 7px;
}

/* make .btn from JUI smaller. use togehter with .btn class. its similar to native class .btn-small, but with smaller width */
.btn-smaller {
	height: 16px!important; 
	width: 20px!important; 
	padding: 2px!important;
}

.btn-smaller [class^="icon-"] {
	margin-top: 0;
}

.icon-reflat:before {
  content: "l";
}

/* center pagination. it can be done by class .pagination-centered, but it cannot be done by JPagination. ref. http://twitter.github.io/bootstrap/components.html#pagination */
.pagination {
	text-align:center;
}


div#documents div.upload {
  background-color: #E0DEDF;
  margin-bottom: 30px;
  margin-top: 10px;
  padding: 10px 0 10px 10px;
}

div#documents div.upload div.btn-group label.btn {
  height: 22px;
  line-height: 18px;
  padding: 1px 2px 3px;
  vertical-align: middle;
}

div#documents div.upload div.btn-group label.btn input#upload {
  height: auto;
  line-height: normal;
  margin: 0;
  padding: 0;
}

div#documents div.upload label.hasTip {
  margin-right: 5px;
  padding: 5px 0 0 15px;
}

div#documents div.upload label.hasTip input#iszip.pull-left {
  border: medium none;
  margin: 3px 5px 0 0;
  position: relative;
}